Skip to content

Feature/es6 models#61

Merged
agaesh merged 6 commits intoes6from
feature/es6-models
Oct 11, 2025
Merged

Feature/es6 models#61
agaesh merged 6 commits intoes6from
feature/es6-models

Conversation

@agaesh
Copy link
Owner

@agaesh agaesh commented Oct 11, 2025

💬 Pull Request Comment:

🧱 Refactor: Convert Sequelize Models to ES6 Module Syntax

This PR updates all Sequelize model files to use ES6 import/export syntax, ensuring consistency and modern compatibility across the codebase.


Summary of Changes

  • Replaced all require statements with import
  • Replaced module.exports with export default
  • Verified Sequelize model initialization loads correctly

🧩 Updated Models

  • DepartmentModel
  • InstructorModel
  • ProgramCourseModel
  • SemesterModel
  • UserModel

🧱 Branch

feature/es6-models

Testing and further integration will be handled in the next phase. This PR focuses solely on syntax refactoring for the model layer.

@agaesh agaesh self-assigned this Oct 11, 2025
@agaesh agaesh linked an issue Oct 11, 2025 that may be closed by this pull request
7 tasks
@agaesh agaesh changed the base branch from main to es6 October 11, 2025 01:43
@agaesh agaesh merged commit 6961534 into es6 Oct 11, 2025
1 check failed
@agaesh
Copy link
Owner Author

agaesh commented Oct 11, 2025

✅ PR Completed Successfully

This pull request has been successfully merged to es6 branch which be merged into main later once the integration test is complete
All Sequelize Model files have been refactored to ES6 module syntax for improved consistency and modern compatibility.

🧱 Scope

Refactoring limited to model layer only

No logic or functional changes made

Testing and integration will follow in the next phase

Status: Completed ✅
Branch: feature/es6-models

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🧱 Issue : Convert Models to ES6 Module Syntax

1 participant